<style scoped>
.item {
  display: inline-block;
  /* width: 225px; */
  width: 23%;
  /* height: 180px; */
  background: url("../../static/img2/img09.png");
  background-size: 100% 100%;
  padding: 7px 12px 18px 11px;
  box-sizing: border-box;
  /* margin-bottom: 2%; */
  margin-left: 6%;

}
.item img {
  /* max-width: 100%; */
    width: 100%;
}
.item .name {
  width: 100%;
  /* width: 94%; */
  text-align: center;
  position: absolute;
  bottom: 0;
}
.item .name-con {
  width: 90%;
  text-align: left;
  display: block;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%,0);
  color: #fff;
  font-size: 18px;
  padding: 3px;
  box-sizing: border-box;
}
.item-content {
  position: relative;
  height: 100%;
  border-radius: 10px;
  text-align: center;
  padding: 5px 0 5% 0;
  /* padding: 5px 9px 18px 10px; */
  
   /* padding: 5px 5px 17% 5px; */
}
.item-content img {
  border-radius: 14px;
}
.name-con span {
  display: block;
  white-space: nowrap;
  overflow: hidden;
}
.zhiwei-text {
  font-size: 14px;
  height: 30px;
  overflow: hidden;
  line-height: 30px;
}
.img2 {
  display: none;
}
.name-text{
  font-size: 28px;
  font-weight: bold;
}
@media screen and (max-width: 1400px) {
  .item .name-con {
    font-size: 16px;
  }
}
</style>
<style>
.item.show {
  position: relative;
  z-index: 9;
}
.item.show .item-content > img {
  transform: scale(2);
  transition: all 1s;
}
.item.now .item-content > img {
  transform: scale(1);
}

</style>
<template>
  <!-- <div class="item" :data_id="item.user_id"> -->
    <div class="item">
    <div class="item-content">
      <img :src="item.head">
       <!-- <img src="../../static/img2/img-test01.jpg"> -->
      <div class="name" v-if="!(none=='none')">
         <img class="img1" src="../../static/img2/img10.png" alt="">
        <!-- <img class="img2" src="../../static/img2/img10.png" alt="">  -->
      </div>
      <div class="name-con" v-if="!(none=='none')">
        <span class="name-text">{{item.name}}</span>
        <span class="zhiwei-text">{{item.company}}</span>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {
      list: []
    };
  },
  props: ["item","none"],
};
</script>
